import fetch from './fetch'
import BaseUrl from './baseUrl' // 调取接口地址list，也可以配置在本页面中
export default {
  // 登录模块
  login: {
    userLogin(params) {
      return fetch.get('/base/acl/login/userEnLogin', params)
    },
    vertifyCode(params) {
      return fetch.blob('/testimg/getVerifiCode', params)
    },
    getServerTime(params) {
      return fetch.post('/base/server/getServerTime', params)
    }

  },

  map: {
    getChooseDep(params) {
      return fetch.post('/fenxi/ztqk/getChooseDep', params)
    },
    getBaseInfo(params) {
      return fetch.post('/fenxi/ztqk/getBaseInfo', params)
    },
    getBzrsAndDfp(params) {
      return fetch.post('/fenxi/ztqk/getBzrsAndDfp', params)
    },
    getLdzsAndLdzz(params) {
      return fetch.post('/fenxi/ztqk/getLdzsAndLdzz', params)
    },
    getXzjgs(params) {
      return fetch.post('/fenxi/ztqk/getXzjgs', params)
    },
    getSyjgs(params) {
      return fetch.post('/fenxi/ztqk/getSyjgs', params)
    },

  },

  bzzy: {
    getTotalBzrsNum(params) {
      return fetch.post('/fenxi/bzzy/getTotalBzrsNum', params)
    },
    getBzrsByDep(params) {
      return fetch.post('/fenxi/bzzy/getBzrsByDep', params)
    },
    getThreeYearKbdw(params) {
      return fetch.post('/fenxi/bzzy/getThreeYearKbdw', params)
    },

  },

  zzbz: {
    getZzbzOverview(params) {
      return fetch.post('/fenxi/zzbz/getZzbzOverview', params)
    },
    getZzbzUseRate(params) {
      return fetch.post('/fenxi/zzbz/getZzbzUseRate', params)
    },
    getTeacherConstr(params) {
      return fetch.post('/fenxi/zzbz/getTeacherConstr', params)
    },
    getZzbzUseState(params) {
      return fetch.post('/fenxi/zzbz/getZzbzUseState', params)
    },


  },

  bdfx: {
    getDepXzbzCompare(params) {
      return fetch.post('/fenxi/pgfx/getDepXzbzCompare', params)
    },
    getHyflSybzCompare(params) {
      return fetch.post('/fenxi/pgfx/getHyflSybzCompare', params)
    },
    getBzzsRankByXtlb(params) {
      return fetch.post('/fenxi/pgfx/getBzzsRankByXtlb', params)
    },
    getJgsbmByXtlb(params) {
      return fetch.post('/fenxi/pgfx/getJgsbmByXtlb', params)
    },
    getBzzsRankByJgbm(params) {
      return fetch.post('/fenxi/pgfx/getBzzsRankByJgbm', params)
    },

  },

  ywfx: {
    getDshSumByDep(params) {
      return fetch.post('/fenxi/ywfx/getDshSumByDep', params)
    },
    getDayBusiness(params) {
      return fetch.post('/fenxi/ywfx/getDayBusiness', params)
    },
    getYearBusiness(params) {
      return fetch.post('/fenxi/ywfx/getYearBusiness', params)
    },
    

  },


  analyse: {
    getXzjgRank(params) {
      return fetch.post('/fenxi/ztqk/getXzjgRank', params)
    },

    getZgbmBaseInfo(params) {
      return fetch.post('/fenxi/pgfx/getZgbmBaseInfo', params)
    },

    getZgbmScoreDesc(params) {
      return fetch.post('/fenxi/pgfx/getZgbmScoreDesc', params)
    },

    getZgbmScoreAsc(params) {
      return fetch.post('/fenxi/pgfx/getZgbmScoreAsc', params)
    },

    getZgbmNumOfSystem(params) {
      return fetch.post('/fenxi/pgfx/getZgbmNumOfSystem', params)
    },

    getZgbmNumScoreLevel(params) {
      return fetch.post('/fenxi/pgfx/getZgbmNumScoreLevel', params)
    },

    getZgbmListByScoreLevel(params) {
      return fetch.post('/fenxi/pgfx/getZgbmListByScoreLevel', params)
    },

    getZgbmKfzbDesc(params) {
      return fetch.post('/fenxi/pgfx/getZgbmKfzbDesc', params)
    },

    queryView(params) {
      return fetch.post('/testimg/testvscode', params)
    },
    // 问题预警-超编预警
    getWtyj_cbyj(params) {
      return fetch.post('/fenxi/wtyj/getWtyj_cbyj', params)
    },
    // 问题预警-各地区问题台账总体情况
    getWtyj_wttzztqk(params) {
      return fetch.post('/fenxi/wtyj/getWtyj_wttzztqk', params)
    },
    // 编制资源——各层级编制数
    getGcjbzs(params) {
      return fetch.post('/fenxi/bzzy/gcjbzs', params)
    },
    // 编制资源——各地编制情况
    getGdbzqk(params) {
      return fetch.post('/fenxi/bzzy/gdbzqk', params)
    },
    // 编制资源——分行业Top10
    getFhy(params) {
      return fetch.post('/fenxi/bzzy/fhy', params)
    },
    // 编制资源——5年离退休预测
    getLtxyc(params) {
      return fetch.post('/fenxi/bzzy/ltxyc', params)
    },
    // 编制资源——人员结构
    getRyjg(params) {
      return fetch.post('/fenxi/bzzy/ryjg', params)
    },
    // 编制资源——业务量统计
    getYwltj(params) {
      return fetch.post('/fenxi/bzzy/ywltj', params)
    },
    // 编制资源——编制变动情況
    getBzbdqk(params) {
      return fetch.post('/fenxi/bzzy/bzbdqk', params)
    },
    // 编制资源——编制结构
    getBzjg(params) {
      return fetch.post('/fenxi/bzzy/bzjg', params)
    }
  }

}
